package cc.minos.components.skins
{
	
	/**
	 * ...
	 * @author Minos
	 */
	public class RectSkin extends Skin
	{
		
		public function RectSkin( w:Number , h:Number , color:uint = 0x000000 )
		{
			_width = w;
			_height = h;
			_fillColor = color;
			_type = "rectSkin";
			draw();
		}
		
		override public function draw():void
		{
			super.draw();
			this.graphics.beginFill( _fillColor , 1 );
			this.graphics.drawRect( 0 , 0 , _width , _height );
			this.graphics.endFill();
		}
	
	}

}